package icu.sehnen.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.extension.service.IService;
import icu.sehnen.product.entity.MyPage;
import icu.sehnen.product.entity.Product;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author icu.sehnen
 * @since 2021-04-26
 */
public interface IProductService extends IService<Product> {

    Product getProductById(Long id);

    IPage<Product> findAll(MyPage myPage, Product product);
}
